package com.woniu.defecttracking.service;

import com.woniu.defecttracking.dto.*;
import com.woniu.defecttracking.entity.Project;
import com.baomidou.mybatisplus.extension.service.IService;
import com.woniu.defecttracking.param.*;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author tiangle
 * @since 2021-12-31
 */
public interface ProjectService extends IService<Project> {
    PageProjectDto findProject(FindProjectParam findProjectParam);

    AddProjectDto addProject(AddProjectParam addProjectParam);

    boolean updateProject(UpdateProjectParam updateProjectParam);

    boolean deleteProject(List<Integer> ids);


    FindProjectDto findAllProject();

    boolean updateStateUp(Integer id);

    boolean updateStateDown(Integer id);

    FindProjectDto findOneProject(Integer id);
}
